package com.zhuang.visitor;

/**
 * @Classname Someone
 * @Description 具体访问者角色 其他人类
 * @Date 2021/3/27 16:49
 * @Created by dell
 */

public class Someone implements Person {
    @Override
    public void feed(Dog dog) {
        System.out.println("其他人喂食宠物狗...");
    }

    @Override
    public void feed(Cat cat) {
        System.out.println("其他人喂食宠物猫...");
    }
}
